//
//  UIButton+ImageLocation.m
//  Sq
//
//  Created by hbb on 2016/6/30.
//  Copyright © 2016年 刘明. All rights reserved.
//


#import <UIKit/UIKit.h>

@interface UIButton (ImageLocation)
typedef NS_ENUM(NSUInteger, ButtonEdgeInsetsStyle) {
    ButtonEdgeInsetsStyleImageLeft,
    ButtonEdgeInsetsStyleImageRight,
    ButtonEdgeInsetsStyleImageTop,
    ButtonEdgeInsetsStyleImageBottom
};


- (void)layoutButtonWithEdgeInsetsStyle:(ButtonEdgeInsetsStyle)style imageTitlespace:(CGFloat)space;

@end
